package com.xcx.bo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class DouyinTempUser implements Serializable {
    /**
     * 用户号
     */
    private Long tempUserNo;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 头像
     */
    private String userAvatarUrl;

    /**
     * 性别
     */
    private String userSex;

    /**
     * 年龄
     */
    private String userAge;

    /**
     * 生日
     */
    private String userBirthday;

    /**
     * 城市
     */
    private String userCity;

    /**
     * 签名
     */
    private String signName;

    /**
     * 抖音号
     */
    private String douyinNo;

    /**
     * 视频 json格式 [{"photo_url":"","video_url":""},{"photo_url":"","video_url":""}]
     */
    private String videoUrlJson;

    /**
     * 最终视频
     */
    private String videoUrl;

    /**
     * 临时用户状态 0-初始化 1-有效用户 2-无效用户
     */
    private String tempUserStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 抖音ID
     */
    private String userId;

    private static final long serialVersionUID = 1L;

    public Long getTempUserNo() {
        return tempUserNo;
    }

    public void setTempUserNo(Long tempUserNo) {
        this.tempUserNo = tempUserNo;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserAvatarUrl() {
        return userAvatarUrl;
    }

    public void setUserAvatarUrl(String userAvatarUrl) {
        this.userAvatarUrl = userAvatarUrl;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserAge() {
        return userAge;
    }

    public void setUserAge(String userAge) {
        this.userAge = userAge;
    }

    public String getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(String userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getDouyinNo() {
        return douyinNo;
    }

    public void setDouyinNo(String douyinNo) {
        this.douyinNo = douyinNo;
    }

    public String getVideoUrlJson() {
        return videoUrlJson;
    }

    public void setVideoUrlJson(String videoUrlJson) {
        this.videoUrlJson = videoUrlJson;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getTempUserStatus() {
        return tempUserStatus;
    }

    public void setTempUserStatus(String tempUserStatus) {
        this.tempUserStatus = tempUserStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DouyinTempUser other = (DouyinTempUser) that;
        return (this.getTempUserNo() == null ? other.getTempUserNo() == null : this.getTempUserNo().equals(other.getTempUserNo()))
            && (this.getNickName() == null ? other.getNickName() == null : this.getNickName().equals(other.getNickName()))
            && (this.getUserAvatarUrl() == null ? other.getUserAvatarUrl() == null : this.getUserAvatarUrl().equals(other.getUserAvatarUrl()))
            && (this.getUserSex() == null ? other.getUserSex() == null : this.getUserSex().equals(other.getUserSex()))
            && (this.getUserAge() == null ? other.getUserAge() == null : this.getUserAge().equals(other.getUserAge()))
            && (this.getUserBirthday() == null ? other.getUserBirthday() == null : this.getUserBirthday().equals(other.getUserBirthday()))
            && (this.getUserCity() == null ? other.getUserCity() == null : this.getUserCity().equals(other.getUserCity()))
            && (this.getSignName() == null ? other.getSignName() == null : this.getSignName().equals(other.getSignName()))
            && (this.getDouyinNo() == null ? other.getDouyinNo() == null : this.getDouyinNo().equals(other.getDouyinNo()))
            && (this.getVideoUrlJson() == null ? other.getVideoUrlJson() == null : this.getVideoUrlJson().equals(other.getVideoUrlJson()))
            && (this.getVideoUrl() == null ? other.getVideoUrl() == null : this.getVideoUrl().equals(other.getVideoUrl()))
            && (this.getTempUserStatus() == null ? other.getTempUserStatus() == null : this.getTempUserStatus().equals(other.getTempUserStatus()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getTempUserNo() == null) ? 0 : getTempUserNo().hashCode());
        result = prime * result + ((getNickName() == null) ? 0 : getNickName().hashCode());
        result = prime * result + ((getUserAvatarUrl() == null) ? 0 : getUserAvatarUrl().hashCode());
        result = prime * result + ((getUserSex() == null) ? 0 : getUserSex().hashCode());
        result = prime * result + ((getUserAge() == null) ? 0 : getUserAge().hashCode());
        result = prime * result + ((getUserBirthday() == null) ? 0 : getUserBirthday().hashCode());
        result = prime * result + ((getUserCity() == null) ? 0 : getUserCity().hashCode());
        result = prime * result + ((getSignName() == null) ? 0 : getSignName().hashCode());
        result = prime * result + ((getDouyinNo() == null) ? 0 : getDouyinNo().hashCode());
        result = prime * result + ((getVideoUrlJson() == null) ? 0 : getVideoUrlJson().hashCode());
        result = prime * result + ((getVideoUrl() == null) ? 0 : getVideoUrl().hashCode());
        result = prime * result + ((getTempUserStatus() == null) ? 0 : getTempUserStatus().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tempUserNo=").append(tempUserNo);
        sb.append(", nickName=").append(nickName);
        sb.append(", userAvatarUrl=").append(userAvatarUrl);
        sb.append(", userSex=").append(userSex);
        sb.append(", userAge=").append(userAge);
        sb.append(", userBirthday=").append(userBirthday);
        sb.append(", userCity=").append(userCity);
        sb.append(", signName=").append(signName);
        sb.append(", douyinNo=").append(douyinNo);
        sb.append(", videoUrlJson=").append(videoUrlJson);
        sb.append(", videoUrl=").append(videoUrl);
        sb.append(", tempUserStatus=").append(tempUserStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", userId=").append(userId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}